package com.kid.keep.dao.message;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kid.keep.bo.MessageBO;
import com.kid.keep.po.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description Message mapper
 * @Author JOHN
 * @Create 2019-01-10
 * @Since 1.0.0
 */
public interface IMessageMapper extends BaseMapper<Message> {

    List<MessageBO> findByTypeAndStatusAndCreatorId(@Param("type") Integer type,@Param("status")  Integer status, @Param("creatorId")  Long creatorId);
}
